﻿using System;
using Qadir.Collections.Generic;
using System.Reflection;

namespace Qadir.MVC.Streamline
{
    /// <summary>
    /// The code back-end component in an application.
    /// </summary>
    public interface IModel
    {
        /// <summary>
        /// All routes to views within this model.
        /// </summary>
        Trictionary<string, Type, MethodInfo> Routes { get; set; }

        /// <summary>
        /// All controllers within this model.
        /// </summary>
        Manager<IController> Controllers { get; set; }
    }
}
